<?php

return [
    'autoload' => false,
    'hooks' => [
        'sms_send' => [
            'alisms',
        ],
        'sms_notice' => [
            'alisms',
        ],
        'sms_check' => [
            'alisms',
        ],
        'upgrade' => [
            'knowbase',
        ],
        'app_init' => [
            'knowbase',
        ],
        'config_init' => [
            'knowbase',
            'summernote',
        ],
        'upload_after' => [
            'knowbase',
        ],
        'admin_login_init' => [
            'loginbg',
        ],
    ],
    'route' => [
        '/knowbase$' => 'knowbase/index/index',
        '/knowbase/projects/p/[:p]$' => 'knowbase/index/projects/p',
        '/knowbase/projects$' => 'knowbase/index/projects',
        '/knowbase/project/[:id]$' => 'knowbase/index/project',
        '/knowbase/document/[:id]$' => 'knowbase/index/document',
        '/knowbase/[:name]/[:id]$' => 'knowbase/index/rewrite_document',
        '/knowbase/checkPage$' => 'knowbase/index/checkPage',
        '/knowbase/checkPassword$' => 'knowbase/index/checkPassword',
    ],
    'priority' => [],
    'domain' => '',
];
